import { Injectable } from '@angular/core';
import { ServiceBasic } from '../../kalend';
import { Http } from '@angular/http';

@Injectable()
export class OrderService extends ServiceBasic {
  constructor(http: Http) {
    super('/order', http);
  }
  query(doc: any) {
    return this.httppost(`/queryall`, doc);
  }


  querybymid(doc: any) {
    return this.httppost(`/querybymerchantid`, doc);
  }

  getuserwinhis(doc: any) {
    return this.httppost(`/getuserwinhis`, doc);
  }
}
